package com.bdqn.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.bdqn.model.Users;

public interface UserMapper {

	Users login(Users user);

	int update(Users user);

	List<Users> queryUserList();

	int updateUser(@Param("loginAccount")String loginAccount, @Param("loginName")String loginName,
			@Param("loginPassword")String loginPassword, @Param("role")String role,@Param("status") String status,
			@Param("createDateTime")String createDateTime);

	int addUserData(@Param("loginAccount")String loginAccount, @Param("loginName")String loginName,
			@Param("loginPassword")String loginPassword, @Param("role")String role,@Param("status") String status,
			@Param("createDateTime")String createDateTime);

	int deleteUserData(@Param("loginAccount")String loginAccount);



	

}
